using Migrator.Framework;

namespace WineCellar.Migrator
{
    [Migration(2)]
    public class Migration002AddUser :Migration
    {
        public override void Up()
        {
            Database.Insert("[User]", new string[] {"[UserName]", "[Password]"}, new string[] {"bart", "bart"});
        }

        public override void Down()
        {
            Database.ExecuteNonQuery("delete from [user] where [UserName] = 'bart'");
        }
    }
}